{% block title %}Agbay{% endblock %}

{% block content_title %}
  <h2>Update Your Profile</h2>
{% endblock %}

{% block content %}

<form name = "updateForm" action= "getUpdate" method="post"> {% csrf_token %}
    <div class="fieldWrapper">
        <label for="id_username">Username: </label><input type='text' size="30" name = "nameParam" value ={{ e_username }}>
        <font color="red">{{ username_errors }}</font><br />
    </div>
	
    <div class="fieldWrapper">
        <label for="id_email">Email Addresss:</label><input type='text' size="30" name = "emailParam" value = {{ e_email }}>
        <font color="red">{{ email_errors }}</font><br />
    </div>
	
    <div class="fieldWrapper">
        <label for="id_password1">Current Password:</label><input type='password' size="15" name = "pass1Param">
        <font color="red">{{ password1_errors }}</font><br />
    </div>
	
    <div class="fieldWrapper">
        <label for="id_password2">New password:</label><input type='password' size="15" name = "pass2Param">
       <font color="red">{{ password2_errors }}</font><br />
    </div>
	
	<div class="fieldWrapper">
        <label for="id_password2">Confirm new password:</label><input type='password' size="15" name = "pass3Param">
        <font color="red">{{ password3_errors }}</font><br />
    </div>
	
    <p> <input type="submit" value="Save Changes"/></p>

	
</form>
{% endblock %}
